﻿<script id="RBAC_Roles_View" type="text/html">
    <div style="width:881px">
         <table class="auto thin" name="tbl">
            <tr>
                <th style="width: 16%;text-align:center">动作</th>
                <td style="width: 14%;text-align:center">新增</td>
                <td style="width: 14%;text-align:center">删除</td>
                <td style="width: 14%;text-align:center">修改</td>
                <td style="width: 14%;text-align:center">查看模块</td>
                <td style="width: 14%;text-align:center">查看部门</td>
                <td style="width: 14%;text-align:center">查看公司</td>
            </tr>
        </table>
    </div>
    <div style="overflow-y: auto; height: 400px">
        <table class="auto thin" name="tbl">
            {{each Resources}}
            <tr data-resourceid="{{$value.ResourceId}}">
                <th style="width:16%">{{$value.ResourceName}}</th>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_1" /></label></td>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_2" /></label></td>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_3" /></label></td>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_4" /></label></td>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_5" /></label></td>
                <td style="width:14%;text-align:center"><label style="width:100%;height:100%;display:inline-block"><input type="checkbox" name="chk" value="{{$value.ResourceId}}_6" /></label></td>
            </tr>
            {{/each}}
        </table>
    </div>
</script>
